ArcGIS API for WPF - Library Reference
OffsetAsync(IList<Graphic>,OffsetParameters) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > GeometryService Class > OffsetAsync Method : OffsetAsync(IList<Graphic>,OffsetParameters) Method

graphics
A collection of polylines or polygons. Input types can be mixed. All geometries are assumed to be in the coordinate system defined by the input SpatialReference.
parameters
Parameters contains additional properties that defines how the offset task will be preformed.
Constructs offset copies of the input polylines or polygons.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub OffsetAsync( _
   ByVal graphics As IList(Of Graphic), _
   ByVal parameters As OffsetParameters _
) 
C# 
public void OffsetAsync( 
   IList<Graphic> graphics,
   OffsetParameters parameters
)

Parameters

graphics
A collection of polylines or polygons. Input types can be mixed. All geometries are assumed to be in the coordinate system defined by the input SpatialReference.
parameters
Parameters contains additional properties that defines how the offset task will be preformed.

Return Value

Returns a graphic collection of the offset geometries that were processed.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.